<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title><s:property value="#session.access"/></title>
<meta name="viewport" content="width=device-width,inital-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="format-detection" content="telephone=no,email=no,adress=no">
<link href="<%=request.getContextPath()%>/css/global.css" type="text/css" rel="stylesheet" />
<link href="<%=request.getContextPath() %>/css/bootstrap.css" type="text/css" rel="stylesheet"/>
<link href="<%=request.getContextPath() %>/css/bootstrap-responsive.css" type="text/css" rel="stylesheet"/>
<link href="<%=request.getContextPath() %>/js/date/skin/WdatePicker.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/global.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/bootstrap.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/date/WdatePicker.js"></script>
<script type="text/javascript">

</script>
</head>
<body>
	<div class="container">
		
		<s:action name="global_menu"  executeResult="true"></s:action>
		
		<div class="row">
			<div class="span12">
					<ul class="breadcrumb">
						<li>
							<a href="javascript:void(0)">首页</a> <span class="divider">/</span>
						</li>
						<li>
							<a href="javascript:void(0)">资金情况</a> <span class="divider">/</span>
						</li>
						<li class="active">
							提现历史
						</li>
					</ul>
					
					<h4>
						历史提现列表
					</h4>
					
					<form id="sform" action="mb_listsettle.html" method="get" enctype="multipart/form-data">
						<table>
							<tr>
								<td height="40">
									<s:textfield id="mbAmount" name="mbAmount" placeholder="金额"></s:textfield>
									<s:select style="width:120px;" id="mbState" name="mbState" list="#{'1':'有效','0':'无效'}" headerKey="" headerValue="提现状态"/>
									
									<s:textfield  id="mbDateTop"  name="mbDateTop" placeholder="发生日期起"  onclick="WdatePicker();"  cssStyle="width:100px;" ><s:param name="value"><s:date name="mbDateTop" format="yyyy-MM-dd"/></s:param></s:textfield>
									 - 
									<s:textfield  id="mbDateEnd"  name="mbDateEnd" placeholder="发生日期止"  onclick="WdatePicker();"  cssStyle="width:100px;" ><s:param name="value"><s:date name="mbDateEnd" format="yyyy-MM-dd"/></s:param></s:textfield>
									<s:select style="width:120px;" id="mbVstate" name="mbVstate" list="#{'1':'有效','0':'无效'}" headerKey="" headerValue="审核状态"/>
									
									<s:textfield  id="mbVdateTop"  name="mbVdateTop" placeholder="审核日期起"  onclick="WdatePicker();"  cssStyle="width:100px;" ><s:param name="value"><s:date name="mbVdateTop" format="yyyy-MM-dd"/></s:param></s:textfield>
									 - 
									<s:textfield  id="mbVdateEnd"  name="mbVdateEnd" placeholder="审核日期止"  onclick="WdatePicker();"  cssStyle="width:100px;" ><s:param name="value"><s:date name="mbVdateEnd" format="yyyy-MM-dd"/></s:param></s:textfield>
											
									<input type="button"    class="btn btn-primary"  value="查询" onclick="sform.submit();"/>
									<input type="button" class="btn btn-primary"    value="导出数据"  onclick="$.MsgBox.Confirm('提示', '导出数据条数限制不能超过<s:property value="@common.CommonDict@EXPORT_LIMIT"/>条,确认导出吗?', function(){window.open(location.href.replace('list','export'));});" />
																
									</td>
							</tr>
						</table>
					</form>
					
					<table class="table table-bordered table-striped">
						<thead>
							<tr>
								<th style="width: 15%;">收款行信息</th>
								<th style="width: 10%;">金额</th>
								<th style="width: 8%;">提现状态</th>
								<th style="width: 15%;">发生日期</th>
								<th style="width: 8%;">审核状态</th>
								<th style="width: 15%;">审核日期</th>
								<th style="width: 20%;">备注</th>
							</tr>
						</thead>
						<tbody>
							<s:iterator value="mbList" id="show" status="seq">
							<tr>
							<td><s:property value="#show.mbBank"/> [<s:property value="@utils.StringUtil@fake(#show.mbBanker,1,1)"/>]</td>
							<td><s:text name="global.format.number"><s:param value="#show.mbAmount"/></s:text></td>
							<td><s:if test="#show.mbState==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
							<td><s:text name="global.format.dateminute"><s:param value="#show.mbDate"/></s:text>
							<td><s:if test="#show.mbVstate==0"><img src="<%=request.getContextPath() %>/image/cancel.png"  /></s:if><s:else><img src="<%=request.getContextPath() %>/image/accept.png"  /></s:else></td>
							<td><s:text name="global.format.dateminute"><s:param value="#show.mbVdate"/></s:text>
							<td><s:property value="#show.mbRemark"/></td>
							</tr>
							</s:iterator>
						</tbody>
					</table>				
					
					<p style="float: right;">
					当前查询结果内金额汇总 : <s:text name="global.format.number"><s:param value="mbTotal"/></s:text> CNY</p>
					
					<%String paga="/"+session.getAttribute("access")+"/page.jsp"; %>
					<s:set name="pageInfo" value="pageInfo"></s:set> <jsp:include flush="true" page="<%=paga %>"></jsp:include>
					
					<div class="hero-unit" style="padding: 15px;font-size: 14px;line-height: 20px;">
						<p>
							1 . 提交提现申请后,提现状态将立即生效并影响账户资金.
						</p>
						<p>
							2 . 在工作人员审核操作后,如果审核未通过,提现状态将改变为无效并且退还提现款项到商户账户内.
						</p>
					</div>
					
				</div>
		</div>
		
		
		<s:action name="global_foot"  executeResult="true"></s:action>
	</div>
</body>
</html>

